home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
taropyon
/
silib
/
silib.lzh
/
PRG
/
SDKFS
/
SDKFS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-31
|
3KB
|
87 lines
/*************************************************************************
* âtâ@âCâïâZâîâNâ^ì\æóæ╠
*************************************************************************/
#ifndef _SDKFS_H
#define _SDKFS_H
#include <dos.h>
#include <sidefs.h>
#include <siev.h>
#include <sisbar.h>
#include <SDK/blkdlg.h>
#define _SDKFS_VER "2.01b"
typedef struct _fndat_t
{
struct _fndat_t *next;
struct find_t buf; /* look <dos.h> */
int no;
int flag;
int mark;
} FNDAT_T;
typedef struct
{
unsigned att; /* æ«É½ */
unsigned stt; /* âXâeü[â^âX */
int err; /* âGâëü[ */
BLKDLG_T *dlg; /* â_âCâAâìâOùpâÅü[âN */
FRAME_T fr;
FRAME_T frDrv; /* âhâëâCâuâZâîâNâ^ÿg */
FRAME_T frFl; /* âtâ@âCâïò\Īÿg */
EV_T *ev; /* âCâxâôâgùp */
EV_T *evDrv; /* âhâëâCâuæIæ≡ùpâCâxâôâg */
EV_T *evFn; /* âtâ@âCâïû╝ */
char *title; /* â^âCâgâï */
SB_T *sb; /* âXâNâìü[âïâoü[ùp */
char buf[256]; /* ôⁿù═âtâ@âCâïû╝ */
int drv; /* âhâëâCâu [A:0 [B:1 */
char whare[256]; /* âfâBâîâNâgâè */
char *wild; /* âÅâCâïâhâJü[âh */
int sort; /* â\ü[âgâ^âCâv */
int numFn; /* âtâ@âCâïÉöüiâfâBâCâîâNâèéαè▄é▐üj */
FNDAT_T *fnTop; /* âfâBâîâNâgâèâoâbâtâ@ɵô¬ */
int numMat; /* â}âbâ`é╡é╜âtâ@âCâïÉö */
FNDAT_T **fnMat; /* â}âbâ`é╡é╜âtâ@âCâïû╝ */
int posDspTop; /* ò\Īé╖éΘâtâ@âCâïû╝é╠ɵô¬ */
int posMark;
} FILESEL_T;
#define FSCD_CRTSAVE (0x20) /* âJâîâôâgâfâBâîâNâgâèÅ≤æ╘ò█æ╢ */
extern FILESEL_T *FileSel_open(void);
extern void FileSel_close( FILESEL_T *fs );
extern int FileSel_start( FILESEL_T *fs );
extern int FileSel_setTitle( FILESEL_T *fs, CONST char *form, ... );
extern int FileSel_setWild( FILESEL_T *fs, CONST char *wild );
extern char *FileSel_getFn( FILESEL_T *fs );
#define FSATT_DIR (0x10)
#define FSATT_VOL (0x08)
#define FSATT_SYS (0x04)
#define FSATT_ARC (0x02)
#define FSATT_RO (0x01)
#define FSSORT_OFF (0x00) /* â\ü[âgé╚é╡ */
#define FSSORT_FILE (0x01) /* âtâ@âCâïû╝ */
#define FSSORT_SUB (0x02) /* ègÆúÄq */
#define FSSORT_DATE (0x03) /* ô·òt */
#define FSSORT_SIZE (0x04) /* âTâCâY */
#define FSSORT_RVS (0x80) /* Å╕Åçü^ì~Åç */
#define FSSORT_DIRTOP (0x00) /* âfâBâîâNâgâèɵô¬ */
#define FSSORT_DIRLAST (0x20) /* âfâBâîâNâgâèì┼îπ */
#define FSSORT_DIROFF (0x40) /* âfâBâîâNâgâè */
#define FSSORT_DIRBIT (FSSORT_DIRLAST|FSSORT_DIROFF)
#define FS_ISSORT_DIRTOP(_sort) (((_sort)&FSSORT_DIRBIT) == FSSORT_DIRTOP)
#define FS_ISSORT_DIRLAST(_sort) (((_sort)&FSSORT_DIRBIT) == FSSORT_DIRLAST)
#define FS_ISSORT_DIROFF(_sort) (((_sort)&FSSORT_DIRBIT) == FSSORT_DIROFF)
#endif